<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
   <h:head>
      <title>HTML组件示例</title>
   </h:head>
   <h:body>
      <h:outputText value="HTML组件示例"
                    style="font-style: italic; font-size: 1.5em"/>
      <h:form>
         <h:panelGrid columns="2">
            姓名
            <h:inputText value="#{userBean.name}"/>
            密码
            <h:inputSecret value="#{userBean.password}"/>
            简介
            <h:inputTextarea value="#{userBean.desc}" rows="5" cols="35"/>
         </h:panelGrid>
         <h:commandButton value="注册" action="textconfirm"/>
      </h:form>
   </h:body>
</html>

